package com.zelix;

import java.awt.event.KeyAdapter;
import java.awt.event.KeyEvent;
import java.util.EventObject;

final class g extends KeyAdapter {

    private final s2 a;

    g(s2 s2_1) {
        a = s2_1;
    }

    public void keyPressed(KeyEvent keyevent) {
        boolean flag = to.nc;
        if (keyevent.getKeyCode() == 10) {
            if (keyevent.getSource() == a.h) {
                s2.a(a);
            } else if (keyevent.getSource() == a.i) {
                a.a();
            } else if (keyevent.getSource() == a.j)
                s2.b(a);
        }
    }
}